import { IWebException } from './IWebException';
export class WebException implements IWebException {
    private message;
    private module;
    private innerException;

    constructor(message, innerException?) {
        this.message = message;
        this.innerException = innerException;
        this.module = {
            name: "WebAPIException"
        }
    }

    get Message() { return this.message; }
    get Module() { return this.module; }
    get InnerException() { return this.innerException; }
} 